import Vue from 'vue'
import { Button, Form, FormItem, Input,Link,Message,Option,
         MessageBox, Dialog, DatePicker, Cascader , Select,
         Popover, Container, Header, Aside, Main, Dropdown, 
         Menu, Submenu, MenuItemGroup, MenuItem,DropdownMenu,
        DropdownItem, Table, TableColumn, Card, Tabs, TabPane,
        Pagination
        } from 'element-ui'

Vue.use(Button)
Vue.use(Form)
Vue.use(FormItem)
Vue.use(Input)
Vue.use(Link)
Vue.use(Option)
Vue.use(Dialog)
Vue.use(DatePicker)
Vue.use(Cascader)
Vue.use(Select)
Vue.use(Popover)
Vue.use(Container)
Vue.use(Header)
Vue.use(Aside)
Vue.use(Main)
Vue.use(Dropdown)
Vue.use(DropdownMenu)
Vue.use(DropdownItem)
Vue.use(Menu)
Vue.use(Submenu)
Vue.use(MenuItemGroup)
Vue.use(MenuItem)
Vue.use(Table)
Vue.use(TableColumn)
Vue.use(Card)
Vue.use(Tabs)
Vue.use(TabPane)
Vue.use(Pagination)

Vue.prototype.$message = Message
Vue.prototype.$confirm = MessageBox.confirm
Vue.prototype.$alert = MessageBox.alert